class ResultData {
  var data;
  bool isSuccess;
  var status;
  var headers;
  var message;

  ResultData(this.data, this.isSuccess, this.status,
      {this.headers, this.message});
}

class ErrorResultData extends ResultData {
  ErrorResultData(dynamic data, bool isSuccess, dynamic status)
      : super(data, isSuccess, status);
}
